package com.wanxi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanxi.model.PermissionModel;

import java.util.List;

/**
 * @author Li
 * @Date 2023/7/14 20:24
 */
public interface PermissionMapper extends BaseMapper<PermissionModel> {
    /**
     * 根据用户id查询用户权限
     * @param userId
     * @return
     */
    List<String> selectPermissionByUserId(Long userId);
}
